/**
 *
 * Copyright 2015 Fittime, Inc. All rights reserved.
 * Constant.java
 *
 */
package com.onesalt.utils;

/**
 * @author Frank
 * @date 2015年3月20日
 */
public class Constant
{

    public static final String TOKEN_SPERATOR = "_";

    public static final String TOKEN_DES_KEY;

    public static String environment = null;

    static
    {
        environment = System.getProperty("current.environment");
        if (environment == null || environment.isEmpty()) {
            environment = "production";
        }
        TOKEN_DES_KEY = environment + "!M)3q39-cXg";
    }

    public static boolean isProdEnv()
    {
        return environment.equals("production");
    }

}
